$OpenBSD: patch-kcontrol_keyboard_tests_xkb_rules_test_cpp,v 1.2 2014/01/28 14:49:26 zhuk Exp $
Fix build.
--- kcontrol/keyboard/tests/xkb_rules_test.cpp.orig	Sat Oct 20 15:27:15 2012
+++ kcontrol/keyboard/tests/xkb_rules_test.cpp	Sat Oct 20 15:29:20 2012
@@ -176,11 +176,11 @@ private Q_SLOTS:
         	optionGroup.setAttribute("description", optionGroupInfo->description);
         	optionGroup.setAttribute("exclusive", optionGroupInfo->exclusive);
 
-        	foreach(const OptionInfo* optionGroupInfo, optionGroupInfo->optionInfos) {
-            	QDomElement option = doc.createElement("option");
-            	option.setAttribute("name", optionGroupInfo->name);
-            	option.setAttribute("description", optionGroupInfo->description);
-            	optionGroup.appendChild(option);
+        	foreach(const OptionInfo* optionInfo, optionGroupInfo->optionInfos) {
+			QDomElement option = doc.createElement("option");
+			option.setAttribute("name", optionInfo->name);
+			option.setAttribute("description", optionInfo->description);
+			optionGroup.appendChild(option);
         	}
 
         	optionGroupList.appendChild(optionGroup);
